home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / presto / prest1_0.lha / Tests / exer / Makefile < prev    next >
Makefile  |  1991-12-11  |  1KB  |  52 lines

  1. #include "../make.h"
  2.  
  3. makefile:    Makefile ../make.h 
  4.         /lib/cpp < Makefile > makefile
  5.         make PRESTO=$(PRESTO) all
  6.  
  7. all:        atomtest cvar locktest montest pingpong spintest
  8.         -rm makefile
  9.  
  10. atomtest:    atomtest.o  $(LIBPRESTO) Makefile
  11.         $(CC) $(LDFLAGS) -g $(V) atomtest.o -L$(PRESTO) -o  atomtest  $(LIBS) $(FILTER)
  12.  
  13. atomtest.o :    atomtest.$(CCSUFFIX)
  14.         $(CC) $(V) $(CFLAGS)  -c  atomtest.$(CCSUFFIX)
  15.  
  16. cvar:  cvar.o $(LIBPRESTO) Makefile
  17.         $(CC) $(LDFLAGS) -g $(V) cvar.o -L$(PRESTO) -o  cvar  $(LIBS) \
  18.             $(FILTER)
  19.  
  20. cvar.o :    cvar.$(CCSUFFIX)
  21.         $(CC) $(V) $(CFLAGS)  -c  cvar.$(CCSUFFIX)
  22.  
  23. locktest:    locktest.o  $(LIBPRESTO) Makefile
  24.         $(CC) $(LDFLAGS) -g $(V) locktest.o -L$(PRESTO) -o  locktest  $(LIBS) \
  25.             $(FILTER)
  26.  
  27. locktest.o :    locktest.$(CCSUFFIX)
  28.         $(CC) $(V) $(CFLAGS)  -c  locktest.$(CCSUFFIX)
  29.  
  30. montest:    montest.o  $(LIBPRESTO) Makefile
  31.         $(CC) $(LDFLAGS) -g $(V) montest.o -L$(PRESTO) -o  montest  $(LIBS) \
  32.             $(FILTER)
  33.  
  34. montest.o :    montest.$(CCSUFFIX)
  35.         $(CC) $(V) $(CFLAGS)  -c  montest.$(CCSUFFIX)
  36.  
  37. pingpong:    pingpong.o  $(LIBPRESTO) Makefile
  38.         $(CC) $(LDFLAGS) -g $(V) pingpong.o -L$(PRESTO) -o  pingpong  $(LIBS) \
  39.             $(FILTER)
  40.  
  41. pingpong.o :    pingpong.$(CCSUFFIX)
  42.         $(CC) $(V) $(CFLAGS)  -c  pingpong.$(CCSUFFIX)
  43.  
  44. spintest:    spintest.o  $(LIBPRESTO) Makefile
  45.         $(CC) $(LDFLAGS) -g $(V) spintest.o -L$(PRESTO) -o  spintest  $(LIBS) \
  46.             $(FILTER)
  47.  
  48. spintest.o :    spintest.$(CCSUFFIX)
  49.         $(CC) $(V) $(CFLAGS)  -c  spintest.$(CCSUFFIX)
  50.  
  51.  
  52.